<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/url.hpp 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">url.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d5/d3a/url_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#ifndef __URL_HPP__</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#define __URL_HPP__</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#include &quot;<a class="code" href="../../d0/d0e/misc_8hpp.html">misc.hpp</a>&quot;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="foldopen" id="foldopen00017" data-start="{" data-end="};">
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="../../d6/dfe/class_u_r_l.html">   17</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d6/dfe/class_u_r_l.html">URL</a></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>{</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00022" data-start="{" data-end="};">
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="../../d4/d89/struct_u_r_l_1_1url_dict.html">   22</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="../../d4/d89/struct_u_r_l_1_1url_dict.html">urlDict</a>{</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="../../d4/d89/struct_u_r_l_1_1url_dict.html#aaf54d3709d77e9d6ad052a1b0bde7494">   23</a></span>        <span class="keywordtype">char</span>   <a class="code hl_variable" href="../../d4/d89/struct_u_r_l_1_1url_dict.html#aaf54d3709d77e9d6ad052a1b0bde7494">m_key</a>;        <span class="comment">// 字符值</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="../../d4/d89/struct_u_r_l_1_1url_dict.html#a4f585bb97d90bf06da01eb0312953b29">   24</a></span>        <span class="keywordtype">bool</span>   <a class="code hl_variable" href="../../d4/d89/struct_u_r_l_1_1url_dict.html#a4f585bb97d90bf06da01eb0312953b29">m_en</a>;         <span class="comment">// 是否进行编码</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>        <span class="comment">//urlDict():m_key(0 ) , m_en( false ){}</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>    };</div>
</div>
<div class="foldopen" id="foldopen00029" data-start="{" data-end="};">
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="../../dc/dd8/class_u_r_l_1_1_param.html">   29</a></span>        <span class="keyword">class </span><a class="code hl_class" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>        {</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="../../dc/dd8/class_u_r_l_1_1_param.html#a6c2d2c15339e0edffcdea34e81f51761">   31</a></span>                <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="../../d6/dfe/class_u_r_l.html">URL</a>;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>        <span class="keyword">private</span>:</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>                std::map&lt; std::string , std::string &gt;  m_dict;  <span class="comment">// URL中的参数部分</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>        <span class="keyword">private</span>:</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>        <span class="keywordtype">bool</span> parse( <span class="keyword">const</span> std::string&amp; query );</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>        <span class="keyword">public</span>:</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>        <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#aca3f63e6a07fb5982085a911cdd54484">Param</a>();</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>        <span class="keyword">explicit</span> <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#aca3f63e6a07fb5982085a911cdd54484">Param</a>( <span class="keyword">const</span> std::string&amp; query );</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>        <span class="keyword">explicit</span> <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#aca3f63e6a07fb5982085a911cdd54484">Param</a>( <span class="keyword">const</span> <a class="code hl_class" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a>&amp; b );</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>        <span class="keyword">explicit</span> <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#aca3f63e6a07fb5982085a911cdd54484">Param</a>( <a class="code hl_class" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a>&amp;&amp; b );</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>        <span class="keyword">virtual</span> <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#a4560556dfcf071ed2e4ed30b0cab70c6">~Param</a>();</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>        <a class="code hl_class" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a>&amp; <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#a33a252e81b3af415896975c7b51296e4">operator=</a>( <span class="keyword">const</span> <a class="code hl_class" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a>&amp; b );</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>        <a class="code hl_class" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a>&amp; <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#a33a252e81b3af415896975c7b51296e4">operator=</a>( <a class="code hl_class" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a>&amp;&amp; b );</div>
<div class="foldopen" id="foldopen00063" data-start="{" data-end="}">
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="../../dc/dd8/class_u_r_l_1_1_param.html#a241a58ccdc6ca919a396b79de1bcba03">   63</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#a241a58ccdc6ca919a396b79de1bcba03">operator()</a>( <span class="keyword">const</span> std::string&amp; query )</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>        {</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>            <span class="keywordflow">if</span>( query.empty() ) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>            m_dict.erase( m_dict.begin() , m_dict.end() );</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>            <span class="keywordflow">return</span> parse( query );</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>        }</div>
</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>        <span class="keyword">const</span> std::string <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#a4bf666918903e7546360dba83cac1ba5">operator[ ]</a>( <span class="keyword">const</span> std::string&amp; name );</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>        <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#a9bf89c1fa41afad1ad46219a9c04b1fb">size</a>();</div>
<div class="foldopen" id="foldopen00085" data-start="{" data-end="}">
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="../../dc/dd8/class_u_r_l_1_1_param.html#a736a33cc72370c02bceb012ded0402cd">   85</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#a736a33cc72370c02bceb012ded0402cd">clear</a>()</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>        {</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>            m_dict.erase( m_dict.begin() , m_dict.end() );</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>        }</div>
</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>        std::map&lt; std::string , std::string &gt;::iterator</div>
<div class="foldopen" id="foldopen00094" data-start="{" data-end="}">
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="../../dc/dd8/class_u_r_l_1_1_param.html#a335f0c42027da5fe9a8e914a11e77e7e">   94</a></span>        <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#a335f0c42027da5fe9a8e914a11e77e7e">find</a>( <span class="keyword">const</span> std::string&amp; key )</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>        {</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>            <span class="keywordflow">return</span> m_dict.find( key );</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>        }</div>
</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>        std::map&lt; std::string , std::string&gt;::iterator</div>
<div class="foldopen" id="foldopen00103" data-start="{" data-end="}">
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="../../dc/dd8/class_u_r_l_1_1_param.html#a1801234161b93a022c11a3f25b641ae8">  103</a></span>        <a class="code hl_function" href="../../dc/dd8/class_u_r_l_1_1_param.html#a1801234161b93a022c11a3f25b641ae8">end</a>()</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>        {</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>            <span class="keywordflow">return</span> m_dict.end();</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>        }</div>
</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>        };</div>
</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>    <span class="comment">// 错误代码</span></div>
<div class="foldopen" id="foldopen00109" data-start="{" data-end="};">
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0">  109</a></span>    <span class="keyword">enum</span> <a class="code hl_enumeration" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0">emErrCode</a>{</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0ab9f4d4b48e013fe041488d3cc11aa6a5">  110</a></span>        <a class="code hl_enumvalue" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0ab9f4d4b48e013fe041488d3cc11aa6a5">ERR_PARSE_QUERY</a> = -1000,</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0a9cc6dbe9f0adc1e14d18381730101d8d">  111</a></span>        <a class="code hl_enumvalue" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0a9cc6dbe9f0adc1e14d18381730101d8d">ERR_EMPTY_PARAM_KEY</a>,</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0aafae7ad9c60b08d7a4d0325a49f9891b">  112</a></span>        <a class="code hl_enumvalue" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0aafae7ad9c60b08d7a4d0325a49f9891b">ERR_EMPTY_URL</a>,</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0ab6538609b7116e77290a0a8f65fc5f33">  113</a></span>        <a class="code hl_enumvalue" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0ab6538609b7116e77290a0a8f65fc5f33">ERR_KEY_NOT_EXIST</a>,</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>        <a class="code hl_enumvalue" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0ac1f6ae50e80ab703690642691931bffd">OK</a> = 0</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0ac1f6ae50e80ab703690642691931bffd">  115</a></span>    };</div>
</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>    std::string     m_url;                       <span class="comment">// 初始的URL</span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>    std::string     m_protocol;                  <span class="comment">// 协议字符串</span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>    std::string     m_user;                      <span class="comment">// 用户帐号</span></div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>    std::string     m_passwd;                    <span class="comment">// 用户密码</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>    std::string     m_host;                      <span class="comment">// 主机</span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>    std::string     m_port;                      <span class="comment">// 端口</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>    std::string     m_query;                     <span class="comment">// 请求串</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>    std::string     m_path;                      <span class="comment">// URL路径</span></div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>    std::string     m_hash;                      <span class="comment">//</span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>    Param           m_param;                     <span class="comment">// 参数表</span></div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span>    <span class="keywordtype">bool</span> parse_protocol( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span>    <span class="keywordtype">bool</span> parse_user( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>    <span class="keywordtype">bool</span> parse_password( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span>    <span class="keywordtype">bool</span> parse_host( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span>    <span class="keywordtype">bool</span> parse_port( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>    <span class="keywordtype">bool</span> parse_query( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>    <span class="keywordtype">bool</span> parse_hash( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span>    <span class="keywordtype">bool</span> parse_path( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span>    <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#ad6ecb93e145465c5b20f2e90f2f1163a">URL</a>();</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>    <span class="keyword">explicit</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#ad6ecb93e145465c5b20f2e90f2f1163a">URL</a>( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>    <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#ad6ecb93e145465c5b20f2e90f2f1163a">URL</a>( <span class="keyword">const</span> <a class="code hl_class" href="../../d6/dfe/class_u_r_l.html">URL</a>&amp; b );</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span>    <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#ad6ecb93e145465c5b20f2e90f2f1163a">URL</a>( <a class="code hl_class" href="../../d6/dfe/class_u_r_l.html">URL</a>&amp;&amp; b );</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>    <a class="code hl_class" href="../../d6/dfe/class_u_r_l.html">URL</a>&amp; <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#ab2d19ab9205c26e23c3af8125f7352a7">operator=</a>( <span class="keyword">const</span> <a class="code hl_class" href="../../d6/dfe/class_u_r_l.html">URL</a>&amp; b );</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span>    <a class="code hl_class" href="../../d6/dfe/class_u_r_l.html">URL</a>&amp; <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#ab2d19ab9205c26e23c3af8125f7352a7">operator=</a>( <a class="code hl_class" href="../../d6/dfe/class_u_r_l.html">URL</a>&amp;&amp; b );</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span>    <span class="keyword">virtual</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a127152050325ba77075f00ee2630c33c">~URL</a>();</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span>    <span class="keyword">const</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#adfc25ecf059d223d3b7e767bbf47a8dd">Protocol</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#adfc25ecf059d223d3b7e767bbf47a8dd">Protocol</a>( <span class="keyword">const</span> std::string&amp; p );</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span>    <span class="keyword">const</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a16b57c1b939418181194425e556062b9">AuthUser</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a16b57c1b939418181194425e556062b9">AuthUser</a>( <span class="keyword">const</span> std::string&amp; user );</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span>    <span class="keyword">const</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a428fa19e39c369dab77a058ad71ff512">AuthPswd</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a428fa19e39c369dab77a058ad71ff512">AuthPswd</a>( <span class="keyword">const</span> std::string&amp; pswd );</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span>    <span class="keyword">const</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#aec6611f5fb54f750042dd4e9aa882e06">HostName</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#aec6611f5fb54f750042dd4e9aa882e06">HostName</a>( <span class="keyword">const</span> std::string&amp; host );</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#aec6611f5fb54f750042dd4e9aa882e06">HostName</a>( std::string&amp;&amp; host );</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a27f805923f375af79e31cd8c9e3bf951">HostPort</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a27f805923f375af79e31cd8c9e3bf951">HostPort</a>( <span class="keywordtype">int</span> port );</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span>    <span class="keyword">const</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a06ba6c01a6a79e9c1f08524ceebaa166">Path</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"><a class="line" href="../../d6/dfe/class_u_r_l.html#affcfc72c371e60d136e34f7df5387f71">  224</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#affcfc72c371e60d136e34f7df5387f71">Path</a>( <span class="keyword">const</span> std::string&amp; path );</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span>        <span class="keyword">const</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#acd7a379cc594010fdd510be0e6dbe255">File</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"><a class="line" href="../../d6/dfe/class_u_r_l.html#a66ca6b8700cc161de255bf9cc3e6c879">  229</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a66ca6b8700cc161de255bf9cc3e6c879">File</a>( <span class="keyword">const</span> std::string&amp; file );</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span>    <span class="keyword">const</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a3cf329e0156c357f4dd2be5679888fe0">Query</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"><a class="line" href="../../d6/dfe/class_u_r_l.html#aa695791b2e2d6110dccddbf843e874f4">  234</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#aa695791b2e2d6110dccddbf843e874f4">Query</a>( <span class="keyword">const</span> std::string&amp; q );</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span>    <span class="keyword">const</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a3fa2726105a3299573993b05534ea4b7">Parameters</a>( <span class="keyword">const</span> std::string&amp; key );</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a84cfe789761fb3cd811f033bf09d7046">Params</a>( <a class="code hl_class" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a>&amp; param );</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno">  248</span>    <span class="keyword">const</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#aca5d73a8736d87c3319edb9e0c3d1c9d">Hash</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno">  254</span>    <span class="keyword">static</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#ade4738d9d131b373535ef65409ae6b2b">Encode</a>( <span class="keyword">const</span> std::string&amp; from );</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno">  259</span>    <span class="keyword">static</span> std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a789a7b438e0dd71689a0337bd9476c2b">Decode</a>( <span class="keyword">const</span> std::string&amp; from );</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#adb9fdf1c5aa4db452f33c9c7533d0134">Parse</a>( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span>        std::string <a class="code hl_function" href="../../d6/dfe/class_u_r_l.html#a21ebcf8bf1ff7956081d1ec2265befc9">toString</a>();</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span>};</div>
</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclass_u_r_l_1_1_param_html"><div class="ttname"><a href="../../dc/dd8/class_u_r_l_1_1_param.html">URL::Param</a></div><div class="ttdef"><b>定义</b> <a href="#l00029">url.hpp:30</a></div></div>
<div class="ttc" id="aclass_u_r_l_1_1_param_html_a1801234161b93a022c11a3f25b641ae8"><div class="ttname"><a href="../../dc/dd8/class_u_r_l_1_1_param.html#a1801234161b93a022c11a3f25b641ae8">URL::Param::end</a></div><div class="ttdeci">std::map&lt; std::string, std::string &gt;::iterator end()</div><div class="ttdoc">读取叠代器结束位置</div><div class="ttdef"><b>定义</b> <a href="#l00103">url.hpp:103</a></div></div>
<div class="ttc" id="aclass_u_r_l_1_1_param_html_a241a58ccdc6ca919a396b79de1bcba03"><div class="ttname"><a href="../../dc/dd8/class_u_r_l_1_1_param.html#a241a58ccdc6ca919a396b79de1bcba03">URL::Param::operator()</a></div><div class="ttdeci">bool operator()(const std::string &amp;query)</div><div class="ttdoc">解析参数串，并更新对象</div><div class="ttdef"><b>定义</b> <a href="#l00063">url.hpp:63</a></div></div>
<div class="ttc" id="aclass_u_r_l_1_1_param_html_a335f0c42027da5fe9a8e914a11e77e7e"><div class="ttname"><a href="../../dc/dd8/class_u_r_l_1_1_param.html#a335f0c42027da5fe9a8e914a11e77e7e">URL::Param::find</a></div><div class="ttdeci">std::map&lt; std::string, std::string &gt;::iterator find(const std::string &amp;key)</div><div class="ttdoc">查找指定变量名</div><div class="ttdef"><b>定义</b> <a href="#l00094">url.hpp:94</a></div></div>
<div class="ttc" id="aclass_u_r_l_1_1_param_html_a33a252e81b3af415896975c7b51296e4"><div class="ttname"><a href="../../dc/dd8/class_u_r_l_1_1_param.html#a33a252e81b3af415896975c7b51296e4">URL::Param::operator=</a></div><div class="ttdeci">Param &amp; operator=(const Param &amp;b)</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00174">url.cpp:174</a></div></div>
<div class="ttc" id="aclass_u_r_l_1_1_param_html_a4560556dfcf071ed2e4ed30b0cab70c6"><div class="ttname"><a href="../../dc/dd8/class_u_r_l_1_1_param.html#a4560556dfcf071ed2e4ed30b0cab70c6">URL::Param::~Param</a></div><div class="ttdeci">virtual ~Param()</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00171">url.cpp:171</a></div></div>
<div class="ttc" id="aclass_u_r_l_1_1_param_html_a4bf666918903e7546360dba83cac1ba5"><div class="ttname"><a href="../../dc/dd8/class_u_r_l_1_1_param.html#a4bf666918903e7546360dba83cac1ba5">URL::Param::operator[]</a></div><div class="ttdeci">const std::string operator[](const std::string &amp;name)</div><div class="ttdoc">读取变量值</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00213">url.cpp:214</a></div></div>
<div class="ttc" id="aclass_u_r_l_1_1_param_html_a736a33cc72370c02bceb012ded0402cd"><div class="ttname"><a href="../../dc/dd8/class_u_r_l_1_1_param.html#a736a33cc72370c02bceb012ded0402cd">URL::Param::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">清除内容</div><div class="ttdef"><b>定义</b> <a href="#l00085">url.hpp:85</a></div></div>
<div class="ttc" id="aclass_u_r_l_1_1_param_html_a9bf89c1fa41afad1ad46219a9c04b1fb"><div class="ttname"><a href="../../dc/dd8/class_u_r_l_1_1_param.html#a9bf89c1fa41afad1ad46219a9c04b1fb">URL::Param::size</a></div><div class="ttdeci">size_t size()</div><div class="ttdoc">读取变量数量</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00225">url.cpp:226</a></div></div>
<div class="ttc" id="aclass_u_r_l_1_1_param_html_aca3f63e6a07fb5982085a911cdd54484"><div class="ttname"><a href="../../dc/dd8/class_u_r_l_1_1_param.html#aca3f63e6a07fb5982085a911cdd54484">URL::Param::Param</a></div><div class="ttdeci">Param()</div><div class="ttdoc">默认的构造</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00146">url.cpp:147</a></div></div>
<div class="ttc" id="aclass_u_r_l_html"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html">URL</a></div><div class="ttdoc">URL 解析器</div><div class="ttdef"><b>定义</b> <a href="#l00017">url.hpp:18</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a06ba6c01a6a79e9c1f08524ceebaa166"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a06ba6c01a6a79e9c1f08524ceebaa166">URL::Path</a></div><div class="ttdeci">const std::string Path() const</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00505">url.cpp:505</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a127152050325ba77075f00ee2630c33c"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a127152050325ba77075f00ee2630c33c">URL::~URL</a></div><div class="ttdeci">virtual ~URL()</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00447">url.cpp:447</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a16b57c1b939418181194425e556062b9"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a16b57c1b939418181194425e556062b9">URL::AuthUser</a></div><div class="ttdeci">const std::string AuthUser() const</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00459">url.cpp:459</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a21ebcf8bf1ff7956081d1ec2265befc9"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a21ebcf8bf1ff7956081d1ec2265befc9">URL::toString</a></div><div class="ttdeci">std::string toString()</div><div class="ttdoc">将URL对象输出成一个完整URL字符串</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00618">url.cpp:618</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a27f805923f375af79e31cd8c9e3bf951"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a27f805923f375af79e31cd8c9e3bf951">URL::HostPort</a></div><div class="ttdeci">int HostPort() const</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00491">url.cpp:491</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a3cf329e0156c357f4dd2be5679888fe0"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a3cf329e0156c357f4dd2be5679888fe0">URL::Query</a></div><div class="ttdeci">const std::string Query() const</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00510">url.cpp:510</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a3fa2726105a3299573993b05534ea4b7"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a3fa2726105a3299573993b05534ea4b7">URL::Parameters</a></div><div class="ttdeci">const std::string Parameters(const std::string &amp;key)</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00515">url.cpp:515</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a428fa19e39c369dab77a058ad71ff512"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a428fa19e39c369dab77a058ad71ff512">URL::AuthPswd</a></div><div class="ttdeci">const std::string AuthPswd() const</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00469">url.cpp:469</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a66ca6b8700cc161de255bf9cc3e6c879"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a66ca6b8700cc161de255bf9cc3e6c879">URL::File</a></div><div class="ttdeci">void File(const std::string &amp;file)</div></div>
<div class="ttc" id="aclass_u_r_l_html_a789a7b438e0dd71689a0337bd9476c2b"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a789a7b438e0dd71689a0337bd9476c2b">URL::Decode</a></div><div class="ttdeci">static std::string Decode(const std::string &amp;from)</div><div class="ttdoc">对字符进行解码</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00569">url.cpp:569</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a84cfe789761fb3cd811f033bf09d7046"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a84cfe789761fb3cd811f033bf09d7046">URL::Params</a></div><div class="ttdeci">void Params(Param &amp;param)</div><div class="ttdoc">读取参表</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00523">url.cpp:523</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a99d9af5d5300e023c6ea11af27448ed0"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0">URL::emErrCode</a></div><div class="ttdeci">emErrCode</div><div class="ttdef"><b>定义</b> <a href="#l00109">url.hpp:109</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a99d9af5d5300e023c6ea11af27448ed0a9cc6dbe9f0adc1e14d18381730101d8d"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0a9cc6dbe9f0adc1e14d18381730101d8d">URL::ERR_EMPTY_PARAM_KEY</a></div><div class="ttdeci">@ ERR_EMPTY_PARAM_KEY</div><div class="ttdef"><b>定义</b> <a href="#l00111">url.hpp:111</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a99d9af5d5300e023c6ea11af27448ed0aafae7ad9c60b08d7a4d0325a49f9891b"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0aafae7ad9c60b08d7a4d0325a49f9891b">URL::ERR_EMPTY_URL</a></div><div class="ttdeci">@ ERR_EMPTY_URL</div><div class="ttdef"><b>定义</b> <a href="#l00112">url.hpp:112</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a99d9af5d5300e023c6ea11af27448ed0ab6538609b7116e77290a0a8f65fc5f33"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0ab6538609b7116e77290a0a8f65fc5f33">URL::ERR_KEY_NOT_EXIST</a></div><div class="ttdeci">@ ERR_KEY_NOT_EXIST</div><div class="ttdef"><b>定义</b> <a href="#l00113">url.hpp:113</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a99d9af5d5300e023c6ea11af27448ed0ab9f4d4b48e013fe041488d3cc11aa6a5"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0ab9f4d4b48e013fe041488d3cc11aa6a5">URL::ERR_PARSE_QUERY</a></div><div class="ttdeci">@ ERR_PARSE_QUERY</div><div class="ttdef"><b>定义</b> <a href="#l00110">url.hpp:110</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_a99d9af5d5300e023c6ea11af27448ed0ac1f6ae50e80ab703690642691931bffd"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#a99d9af5d5300e023c6ea11af27448ed0ac1f6ae50e80ab703690642691931bffd">URL::OK</a></div><div class="ttdeci">@ OK</div><div class="ttdef"><b>定义</b> <a href="#l00115">url.hpp:114</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_aa695791b2e2d6110dccddbf843e874f4"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#aa695791b2e2d6110dccddbf843e874f4">URL::Query</a></div><div class="ttdeci">void Query(const std::string &amp;q)</div></div>
<div class="ttc" id="aclass_u_r_l_html_ab2d19ab9205c26e23c3af8125f7352a7"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#ab2d19ab9205c26e23c3af8125f7352a7">URL::operator=</a></div><div class="ttdeci">URL &amp; operator=(const URL &amp;b)</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00256">url.cpp:256</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_aca5d73a8736d87c3319edb9e0c3d1c9d"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#aca5d73a8736d87c3319edb9e0c3d1c9d">URL::Hash</a></div><div class="ttdeci">const std::string Hash() const</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00528">url.cpp:528</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_acd7a379cc594010fdd510be0e6dbe255"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#acd7a379cc594010fdd510be0e6dbe255">URL::File</a></div><div class="ttdeci">const std::string File() const</div><div class="ttdoc">读取文件名称</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00654">url.cpp:654</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_ad6ecb93e145465c5b20f2e90f2f1163a"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#ad6ecb93e145465c5b20f2e90f2f1163a">URL::URL</a></div><div class="ttdeci">URL()</div><div class="ttdoc">构造</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00424">url.cpp:424</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_adb9fdf1c5aa4db452f33c9c7533d0134"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#adb9fdf1c5aa4db452f33c9c7533d0134">URL::Parse</a></div><div class="ttdeci">bool Parse(const std::string &amp;url)</div><div class="ttdoc">解析URL</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00602">url.cpp:602</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_ade4738d9d131b373535ef65409ae6b2b"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#ade4738d9d131b373535ef65409ae6b2b">URL::Encode</a></div><div class="ttdeci">static std::string Encode(const std::string &amp;from)</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00533">url.cpp:533</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_adfc25ecf059d223d3b7e767bbf47a8dd"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#adfc25ecf059d223d3b7e767bbf47a8dd">URL::Protocol</a></div><div class="ttdeci">const std::string Protocol() const</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00449">url.cpp:449</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_aec6611f5fb54f750042dd4e9aa882e06"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#aec6611f5fb54f750042dd4e9aa882e06">URL::HostName</a></div><div class="ttdeci">const std::string HostName() const</div><div class="ttdef"><b>定义</b> <a href="../../d6/d0e/url_8cpp_source.html#l00478">url.cpp:478</a></div></div>
<div class="ttc" id="aclass_u_r_l_html_affcfc72c371e60d136e34f7df5387f71"><div class="ttname"><a href="../../d6/dfe/class_u_r_l.html#affcfc72c371e60d136e34f7df5387f71">URL::Path</a></div><div class="ttdeci">void Path(const std::string &amp;path)</div></div>
<div class="ttc" id="amisc_8hpp_html"><div class="ttname"><a href="../../d0/d0e/misc_8hpp.html">misc.hpp</a></div></div>
<div class="ttc" id="astruct_u_r_l_1_1url_dict_html"><div class="ttname"><a href="../../d4/d89/struct_u_r_l_1_1url_dict.html">URL::urlDict</a></div><div class="ttdoc">字典类型</div><div class="ttdef"><b>定义</b> <a href="#l00022">url.hpp:22</a></div></div>
<div class="ttc" id="astruct_u_r_l_1_1url_dict_html_a4f585bb97d90bf06da01eb0312953b29"><div class="ttname"><a href="../../d4/d89/struct_u_r_l_1_1url_dict.html#a4f585bb97d90bf06da01eb0312953b29">URL::urlDict::m_en</a></div><div class="ttdeci">bool m_en</div><div class="ttdef"><b>定义</b> <a href="#l00024">url.hpp:24</a></div></div>
<div class="ttc" id="astruct_u_r_l_1_1url_dict_html_aaf54d3709d77e9d6ad052a1b0bde7494"><div class="ttname"><a href="../../d4/d89/struct_u_r_l_1_1url_dict.html#aaf54d3709d77e9d6ad052a1b0bde7494">URL::urlDict::m_key</a></div><div class="ttdeci">char m_key</div><div class="ttdef"><b>定义</b> <a href="#l00023">url.hpp:23</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
